import re
def test(instr):
    patt = '\'\w+\''
    m = re.search(patt,instr)
    if m is not None:
        return m.group()[1:-1]
    else:
        print 'nothing'
if __name__ == '__main__':
    print test('''<type,'int'>''')
